-- GENERATED SPELL FOR [Venture Co. Machine Smith] --


function spell0_3993(pUnit, Event) --@Compact Harvest Reaper,Self--
pUnit:FullCastSpellOnTarget(7979,pUnit)
pUnit:RegisterEvent('Sorts_3993', 2000, 1)
end

function Sorts_3993(pUnit, Event)
local choix_sorts_3993 = math.random(0, 0)
if choix_sorts_3993 == 0 then
pUnit:RegisterEvent('spell0_3993', 1, 1)
end
end

function mob3993_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3993', math.random(1500, 3000), 1)
end

function mob3993_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3993_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3993_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3993, 1, 'mob3993_Action')
RegisterUnitEvent(3993, 2, 'mob3993_Leave')
RegisterUnitEvent(3993, 3, 'mob3993_Kill')
RegisterUnitEvent(3993, 4, 'mob3993_Die')
